package com.example.auth2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//@ComponentScan(basePackages = {"com.example.auth2.mapper.SPrivilegeUserMapper","com.example.auth2.service.PrivilegeUserService"})
@EnableEurekaClient
//@EnableScheduling
@MapperScan("com.example.auth2.mapper")
@SpringBootApplication
public class Auth2Application {

    public static void main(String[] args) {
        SpringApplication.run(Auth2Application.class, args);
    }
}
